<%
//会员中心
layout("/inc/layout.html",{
title:'一窗多办',
keywords:'一窗多办',
description:'一窗多办',
style:'user.css'
}){
%>
<div class="container">
    <!--用户面板-->
    <% include("/inc/user_panel.html"){} %>
    <!--快捷键-->
    <div class="row mt15 text-center">
        <% include("/inc/user_menu.html"){} %>
        <div class=" col-sm-10">
            <div class="table-responsive">
<!--                 <div class="toolBar">
                    <div class="col-sm-5 pull-right input-group">
                        <input type="text" placeholder="请输入办件名称搜索" class="form-control searchValue">
                        <span class="input-group-btn">
                            <button type="button" id="search" class="btn btn-primary">&nbsp;搜索</button>
                        </span>
                    </div>
                </div> -->
                <table id="windowOfficesList"></table>
            </div>
        </div>
    </div>
</div>
<% } %>
<script>
    require(['modules/user_basic'], function (basic) {
        basic.windowOffices();
    });



    /**
     * 列表按钮参数
     */
    function operateFormatter(value, row, index) {
        var tempCode = "";
        if(row.applyStatus!=4){
        tempCode+= '<button class="invalid btn btn-default btn-xs"><i class="iconfont icon-zuofei"></i>&nbsp;作废&nbsp;</button>';
        }else{
         tempCode+= '<button class="invalid btn btn-default btn-xs"><i class="iconfont icon-tuihui"></i>&nbsp;恢复&nbsp;</button>';
        }
        return '<div class="btn-group">' + tempCode + '</div>'
    }

</script>
</body>
</html>